﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace JsonTest1.Data
{
    public class Album
    {
        public static Album emptyAlbum = new Album();

        /**
         * numeric id of the album
         */
        private int id = 0;
        public int Id {
            get { return id; }
            set { id = value; }
        }


        /**
         * link to the cover of the album
         */
        private string image = "";
        public string Image
        {
            get { return image; }
            set { image = value; }
        }

        /**
         * name of the album
         */
        private string name = "";
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        /**
         * Rating of the album
         */
        private double rating = 0;
        public double Rating
        {
            get { return rating; }
            set { rating = value; }
        }

        /**
         * Display name of the artist.
         */
        private string artistName = "";
        public string ArtistName
        {
            get { return artistName; }
            set { artistName = value; }
        }

        /**
         * Album tracks
         */
        private Track[] tracks = null;
        public Track[] Tracks
        {
            get { return tracks; }
            set { tracks = value; }
        }
    }
}
